package org.senseframework.support.orm.mybatis.annotations;

import org.senseframework.support.orm.mybatis.definition.JoinType;

import java.lang.annotation.*;

/**
 * Author lanjian
 * Email  jianlan@iflytek.com
 */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface Table {
    String id() default "id";

    String table();

    String tableAs() default "";

    JoinType joinType() default JoinType.none;

    String joinTable() default "";

    String joinTableAs() default "";

    String tableOn() default "";

    String joinTableOn() default "";
}
